package com.supor.md_video.entity;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

public class VideoCommListResultBean implements Parcelable {

    private int total;
    private int limit;
    private int sum;
    private int page;
    private List<VideoCommListBean> rows;
    private int dataCount;

    protected VideoCommListResultBean(Parcel in) {
        total = in.readInt();
        limit = in.readInt();
        sum = in.readInt();
        page = in.readInt();
        dataCount = in.readInt();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(total);
        dest.writeInt(limit);
        dest.writeInt(sum);
        dest.writeInt(page);
        dest.writeInt(dataCount);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<VideoCommListResultBean> CREATOR = new Creator<VideoCommListResultBean>() {
        @Override
        public VideoCommListResultBean createFromParcel(Parcel in) {
            return new VideoCommListResultBean(in);
        }

        @Override
        public VideoCommListResultBean[] newArray(int size) {
            return new VideoCommListResultBean[size];
        }
    };

    public int getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getSum() {
        return sum;
    }

    public void setSum(Integer sum) {
        this.sum = sum;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public List<VideoCommListBean> getRows() {
        return rows;
    }

    public void setRows(List<VideoCommListBean> rows) {
        this.rows = rows;
    }

    public Integer getDataCount() {
        return dataCount;
    }

    public void setDataCount(Integer dataCount) {
        this.dataCount = dataCount;
    }

}
